package com.zabra.zl.ui.recall.model;

import com.zabra.zl.data.OrderListBean;
import com.zabra.zl.data.SimpleBean;
import com.zabra.zl.net.RetrofitClient;
import com.zabra.zl.ui.recall.contract.RecallContract;

import retrofit2.Call;

public class RecallModel implements RecallContract.Model {
    @Override
    public Call<OrderListBean> getData(int dealStatus, int orderid, String startTime, String endTime) {
        return RetrofitClient.getInstance().getApi().getOrderListData(dealStatus, orderid, startTime, endTime);
    }

    @Override
    public Call<SimpleBean> getSubmitData(int comOrderId, int orderid) {
        return RetrofitClient.getInstance().getApi().getRecallOrderData(comOrderId, orderid);
    }
}
